<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 
<HTML>
<HEAD>
<TITLE>Folders</TITLE>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<META name="CODE_LANGUAGE" Content="C#">
<META name=vs_defaultClientScript content="JavaScript">
<META name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<?XML:NAMESPACE PREFIX="DIMOK">
<?IMPORT namespace="DIMOK" implementation="/include/htc/datagrid.htc">
<SCRIPT src="/include/common.js"></SCRIPT>
<SCRIPT src="/include/soap.js"></SCRIPT>
<SCRIPT src="/include/XML.js"></SCRIPT>
<LINK rel="stylesheet" type="text/css" href="/CSS/Outlook.css">
</HEAD>
<BODY>
<DIMOK:HTCDATAGRID id="dtg" caption="Verifiers"
			allowEdit="true" allowDelete="true" allowAdd="true" allowFilter="false"
			style="width:1%;overflow-x:visible;overflow-y:auto;height:100%"
			hiddenFields="id"
			ReadOnlyFields="UserName"
			onreadystatechange="cropWindow()"
			onEdit="editRecord('Folder_Update')"
			onAdd="editRecord('Folder_Update')"
			onDelete="deleteRecord('Folder_Delete')"
>
		<RS>
			<ASP:LITERAL ID="ltrFolders" Runat="server"></ASP:LITERAL>
		</RS>
</DIMOK:HTCDATAGRID>
</BODY>
</HTML>
<SCRIPT>
initWS("Imaging","Imaging.asmx");
function editRecord(webMethod){
	if(!checkWS())return event.returnValue = false;
	if( !event.rs(0).value )event.rs(0).value = 0;
	var ret = WS(CO(webMethod),getDSFromRS(event.rs,"",event.fieldName,event.fieldValue));
	if(showSOAPError(ret)) return event.returnValue = false;
	if( ret.value != event.rs("id").value )event.rs("id").value = ret.value;
}
function deleteRecord(webMethod){
	if(!checkWS())return event.returnValue = false;
	var imageType = event.rs("ImageType").Value;
	if( !confirm("Delete user "+imageType+"?") )return event.returnValue = false;
	var ret = WS(CO(webMethod),event.rs("id").value);
	if(showSOAPError(ret)) return event.returnValue = false;
}
</SCRIPT>
